/***********************************************************************
 * Module:  BaseModel.java
 * Author:  Administrator
 * Purpose: Defines the Class BaseModel
 ***********************************************************************/

package com.ishitong.platform.common.model;

import ishitong.common.permission.User;
import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

/** @pdOid 337202d2-6d4a-44ee-83ae-e64ac3d1e903 */
public abstract class BaseModel implements Serializable {
   /** @pdOid 8f19a0b7-73b7-48a6-a868-b487cd449170 */
   private String id;
   /** @pdOid 7df6daec-6521-4b44-ad86-d1cc34c92d86 */
   private String insertUserId;
   /** @pdOid 99d943a7-1bbe-47fd-9f4c-6570e959c2a6 */
   @DateTimeFormat(pattern = "yyyy-MM-dd")
   private Date insertTime;
   /** @pdOid 36b52f59-5bc0-4e57-aacb-9240ecac019f */
   private String updateUserId;
   /** @pdOid 0bb12566-ddeb-4185-850b-7d48c2680082 */
   @DateTimeFormat(pattern = "yyyy-MM-dd")
   private Date updateTime;
   /** @pdOid 5f7b7236-e710-44f0-8012-c75f01f6a439
       @pdRoleInfo migr=yes name=User assc=association2 mult=0..1 */
   private User updateUser;
   /** @pdOid 2cbec15e-a883-48ce-ae64-2ce62d12ce76
       @pdRoleInfo migr=yes name=User assc=association1 mult=1..1 */
   private User insertUser;
   
   /** @pdOid 22e5cf8d-efc8-4298-bf23-d64e007db56a */
   public String getId() {
      return id;
   }
   
   /** @param newId
    * @pdOid eaf9adc4-bfbb-4901-8c43-be6e2ebbdbfe */
   public void setId(String newId) {
      id = newId;
   }
   
   /** @pdOid f2b47529-0e7c-4c96-aa3a-27aa5d2c0bdc */
   public String getInsertUserId() {
      return insertUserId;
   }
   
   /** @param newInsertUserId
    * @pdOid 1ccf0527-2211-4672-82ee-cee60fb576fd */
   public void setInsertUserId(String newInsertUserId) {
      insertUserId = newInsertUserId;
   }
   
   /** @pdOid 48641367-c2a6-4bf1-9211-f80ed27cfa1c */
   public Date getInsertTime() {
      return insertTime;
   }
   
   /** @param newInsertTime
    * @pdOid 8716e71d-a3c2-472d-8bb3-604bf4779bdd */
   public void setInsertTime(Date newInsertTime) {
      insertTime = newInsertTime;
   }
   
   /** @pdOid 9cf586fb-a497-4ba8-acbb-792e8f916e12 */
   public String getUpdateUserId() {
      return updateUserId;
   }
   
   /** @param newUpdateUserId
    * @pdOid 6c1d34f2-5cc3-4c19-837e-3682554b2915 */
   public void setUpdateUserId(String newUpdateUserId) {
      updateUserId = newUpdateUserId;
   }
   
   /** @pdOid c19786da-9eec-450f-a7d2-df6772b8d554 */
   public Date getUpdateTime() {
      return updateTime;
   }
   
   /** @param newUpdateTime
    * @pdOid 1851840b-4aab-420a-b10c-88a3c1ca5aab */
   public void setUpdateTime(Date newUpdateTime) {
      updateTime = newUpdateTime;
   }
   
   /** @pdOid 9002b182-fab4-4ada-b322-637486bea9f4 */
   public User getUpdateUser() {
      return updateUser;
   }
   
   /** @param newUpdateUser
    * @pdOid 56d4b4ed-c24d-46c1-b397-145c0d94918e */
   public void setUpdateUser(User newUpdateUser) {
      updateUser = newUpdateUser;
   }
   
   /** @pdOid 3cf06feb-aa40-493f-b7d1-ce031a8925e3 */
   public User getInsertUser() {
      return insertUser;
   }
   
   /** @param newInsertUser
    * @pdOid 3d8bdbea-2c2b-426c-867a-908a66e69516 */
   public void setInsertUser(User newInsertUser) {
      insertUser = newInsertUser;
   }

}
